Welcome![Sign In][Sign Up]
Location:
Search - High-precision timer

Search list

[Software Engineeringmmtimerbasedstepmotorcontrol

Description: 步进电动机的角位移量与输入脉冲数严格成正比,电动机转动一圈后,没有累积误差,所以步进电动机是数字控制系统常用的执行电动机,并且广泛的应用在小卫星上。为了 使步进电动机在小卫星上安全运行必需在地面做相应的检测。下面介绍在小卫星有效载荷地面检测仪中利用WindowsXP多媒体定时器实现步进电动机高精度控制的方法。-stepper motor angular displacement volume and input pulses strictly proportional to motor rotating ring, no accumulated error, the stepper motor is used digital control system implementation motor, and widely used in small satellites. To stepper motor in a small satellites necessary for safe operation on the ground do the same testing. Below introduced in a small satellite payload ground detector using Windows XP multimedia timer -- Stepping Motivation high precision control method.
Platform: | Size: 257423 | Author: 刘军 | Hits:

[DocumentsCPU 测速(MHz)和高精度延时(微秒级)

Description: 一.高精度延时, 是 CPU 测速的基础 Windows 内部有一个精度非常高的定时器, 精度在微秒级, 但不同的系统这个定时器的频率不同, 这个频率与硬件和操作系统都可能有关。 利用 API 函数 QueryPerformanceFrequency 可以得到这个定时器的频率。 利用 API 函数 QueryPerformanceCounter 可以得到定时器的当前值。 根据要延时的时间和定时器的频率, 可以算出要延时的时间定时器经过的周期数。 在循环里用 QueryPerformanceCounter 不停的读出定时器值, 一直到经过了指定周期数再结束循环, 就达到了高精度延时的目的。 高精度延时的程序, 参数: 微秒 二.测速程序 利用 rdtsc 汇编指令可以得到 CPU 内部定时器的值, 每经过一个 CPU 周期, 这个定时器就加一。 如果在一段时间内数得 CPU 的周期数, CPU工作频率 = 周期数 / 时间 为了不让其他进程和线程打扰, 必需要设置最高的优先级 以下函数设置当前进程和线程到最高的优先级。 SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL) CPU 测速程序的源代码, 这个程序通过 CPU 在 1/16 秒的时间内经过的周期数计算出工作频率, 单位 MHz: -one. High-precision delay, the CPU speed is the basis of Windows within a very high accuracy of the timer, the microsecond precision, but in the system timer different frequencies, the frequency and hardware and the operating system are likely. Using API function can be QueryPerformanceFrequency the timing The frequency. Use QueryPerformanceCounter API function can be the current timer value. According to the delay time and the frequency of the timer, you could calculate the time to delay timer after a few cycles. The circle with QueryPerformanceCounter repeatedly read out the timer value, until after a specified number of cycles end the cycle again, it reached a high precision delay purposes. High-precision delay the procedure parameters : 2 microsecond. Gun utilize RDTSC instruction can
Platform: | Size: 1024 | Author: 马俊 | Hits:

[Program docCBuilderGetTime

Description: 虽然Windows下可视化开发工具如VC、Delphi、C++ Builder等都有专用的定时器控件Timer,而且使用很方便,可以实现一定的定时功能,但最小计时精度仅为55ms,且定时器消息在多任务操作系统中的优先级很低,不能得到及时响应,往往不能满足实时控制环境下的应用。不过Microsoft公司在Win32 API函数库中已经为用户提供了一组用于高精度计时的底层函数,如果用户使用得当,计时精度可到1ms。这个计时精度、对于一般的实时系统控制完全可以满足要求。现将由C++ Builder 4.0提供的重新封装后的一组与时间相关的主要接口函数(函数名、参数、功能与Win32 API基本相同)说明如下: -visual development tools such as Visual C++, Delphi, C++ Builder and others all have dedicated Timer timer control, but it is convenient. can achieve a timing function, but only the minimum time of 55 ms accuracy. Timer news and multi-task operating system in the low priority that is not to respond in a timely manner, often fail to meet the real-time control environment applications. However, Microsoft Corporation in the Win32 API function has been to provide the user with a group for high-precision the bottom was a time function, if the user is properly utilized, time accuracy can be a ms. Accuracy this time, and for most of the real-time control system can meet the requirements. Now by C++ Builder 4.0 for the re-packaging of a group associated with the time the main interface funct
Platform: | Size: 1024 | Author: wangjing | Hits:

[OS programHighSpeedTimer

Description: 高精度秒表:利用Delphi自带的Timer控件你能够进行精确计时吗?超过1秒时可以,但是能够在1秒内计时吗?精度 高吗?该程序演示了利用timer控件和两种高精度计时方法进行比较,看看1分钟内的精度差别多大?程序虽然简单,在对硬件控制中很有用。-precision stopwatch : Delphi, bringing their use of Timer control you can accurately time? More than one seconds, but, in a seconds time? High accuracy? The procedure demonstrated a timer control and the use of two methods for high-precision timing, see a minute of accuracy how much difference? Although a simple procedure, in the control of the hardware useful.
Platform: | Size: 168960 | Author: 谭俊哲 | Hits:

[VHDL-FPGA-Verilogbyvhdstopwatchl

Description: 1.高精度数字秒表(0.01秒的vhdl语言实现) 2.具有定时,暂停,按键随机存储,翻页回放功能; 3.对30M时钟分频产生显示扫描时钟 4.精度高达0.01s,并且可以通过改变主频来更改分频比和记数间隔,可控性高。 5.模块化设计,其中的许多函数可以成为vhdl语言的通用经典例子(包含分频电路设计,动态扫描时钟设计,译码电路设计,存储器设计,存储回放显示设计)-1. High-precision digital stopwatch (0.01 seconds vhdl language) 2. With a timer, suspended Random memory keys, flip playback function; 3. right 30M clock frequency scan have revealed four clock. Precision high 0.01s and and can be changed to alter the frequency than the frequency interval and Hutchison, controlled high. 5. Modular design, Many of these functions can become the common language vhdl classic examples (including sub-frequency circuit design, Dynamic scanning clock design, decoding circuit design, memory design, storage intervals showed Design)
Platform: | Size: 2048 | Author: 方周 | Hits:

[Software Engineeringjyshzipljdshjyfx

Description: 本设计以AT89C52为核心,充分利用AT89C52的三个定时/计时器,采用测量N个周期信号波形的算法.实现了频率,周期高精度的测量.-AT89C52 to the design at the core, and make full use of the three regular AT89C52/timer, Measure N cycle signal waveform algorithms. achieve a frequency, high-precision measurement cycle.
Platform: | Size: 131072 | Author: 307xzj | Hits:

[Software Engineeringmmtimerbasedstepmotorcontrol

Description: 步进电动机的角位移量与输入脉冲数严格成正比,电动机转动一圈后,没有累积误差,所以步进电动机是数字控制系统常用的执行电动机,并且广泛的应用在小卫星上。为了 使步进电动机在小卫星上安全运行必需在地面做相应的检测。下面介绍在小卫星有效载荷地面检测仪中利用WindowsXP多媒体定时器实现步进电动机高精度控制的方法。-stepper motor angular displacement volume and input pulses strictly proportional to motor rotating ring, no accumulated error, the stepper motor is used digital control system implementation motor, and widely used in small satellites. To stepper motor in a small satellites necessary for safe operation on the ground do the same testing. Below introduced in a small satellite payload ground detector using Windows XP multimedia timer-- Stepping Motivation high precision control method.
Platform: | Size: 257024 | Author: 刘军 | Hits:

[Embeded-SCM DevelopmsTimingV1

Description: (原创)高精度电子时钟和计时器电路版图。与本人另外上传的原理图配套,完全对应,可直接加工制作。-(Original) high-precision electronic clock and timer circuit layout. And I uploaded another schematic matching entirely correspond directly processed.
Platform: | Size: 161792 | Author: 王平 | Hits:

[SCMaduc812

Description: ADuC812是美国AD公司推出的高性能单片机,具有集成度高、资源丰富等特点。 (1) 基于8051的内核,指令系统与8051兼容,额定工作频率12MHz。 (2) 8KB片内闪速/电擦除程序存储器 640B片内闪速/电擦除数据存储器 256B片内数据RAM。 (3) 3个16位的定时器/计数器 32根可编程I/O线 9个中断源,2个优先级。 (4) 1个8通道,高精度12位ADC 2个12位电压输出DAC。 (5) 1个片内温度传感器。 (6) 采用3V、5V电压工作 具有正常、待机和掉电三种工作模式。 (7) 1个通用UART串行I/O 1个与I2C兼容的两线串口和SPI串口 1个看门狗定时器(WDT) 1个电源监视器(PSM)。-ADuC812 is AD Launches the United States, high-performance single-chip, high integration and rich in resources and so on. (1) Based on the 8051 core 8051 compatible instruction set with a rated operating frequency of 12MHz. (2) 8KB-chip Flash/EE program memory 640B-chip Flash/EE data memory 256B-chip data RAM. (3) three 16-bit timer/counter 32 programmable I/O lines 9 interrupt sources, two priority. (4) an 8-channel, high-precision 12-bit ADC 2 12-bit voltage output DAC. (5) a-chip temperature sensor. (6) the use of 3V, 5V voltage with normal, standby and power-down mode of the three. (7) a generic UART serial I/O 1 with I2C-compatible two-wire SPI serial port and serial port a watchdog timer (WDT) 1 power supply monitor (PSM).
Platform: | Size: 695296 | Author: 白涛 | Hits:

[OtherSetTimer(synchronizationAndasynchronism)

Description: 在LabWindows中要求对测量时间的控制精确度很高,为此我们常用Timer控件并不能精确控制。在此例程中列举了同步定时器与异步定时器,希望对大家有帮助。-In the LabWindows called for measuring time in the control of high precision, for which we often can not be precise control Timer control. Listed in this routine of synchronous and asynchronous timer timer, want to help everyone.
Platform: | Size: 7168 | Author: 写字板 | Hits:

[DSP programEvsine

Description: dsp2812定时器产生正弦调制的PWM波,精度较高。经滤波后则是正弦波,利用PWM实现DAC功能。-dsp2812 sinusoidal modulation PWM timer produces waves, high precision. The filter is a sine wave after the use of PWM to achieve DAC functionality.
Platform: | Size: 530432 | Author: sun | Hits:

[Other1

Description: 用89C2051制作的高精度三路倒计时定时器-Produced using high-precision three-way 89C2051 countdown timer
Platform: | Size: 4096 | Author: 张振才 | Hits:

[CSharp555apply

Description: 利用555定时器测量电阻,已测试成功,精度很高,很适合初学者-Measurement of resistance using 555 timer has been tested successfully, high precision, it is suitable for beginners! ! !
Platform: | Size: 51200 | Author: 王林 | Hits:

[SCMfrequency

Description: 利用51定时器实现高精度频率测量,数码管显示,汇编语言-51 timer using high precision frequency measurement, digital display, assembly language
Platform: | Size: 73728 | Author: lihua | Hits:

[OS DevelopttTimer

Description: 通过调用中断调取主板上的专用计时器,获得高精度的时钟,可以达到0.838微秒-Is accessible by calling the interrupt timer on the motherboard dedicated to obtain high-precision clock, up to 0.838 microseconds
Platform: | Size: 1024 | Author: arbin_han | Hits:

[SCMAutoSelectScale-Cymometer

Description: 1. 测量方式可以随被测信号的频率变化自动进行切换,>1000Hz时,定时计数方式;<900Hz时,测周期,切换点可以随时自定义,可以做到最佳的匹配。 2. 可以通过改变晶振或者单片机来提高测量范围,有四个常用晶振的宏选择 3. 精度高,通过软件修正、再配合高频晶振以及更换单周期指令的单片机,高频时,可以做到+-2Hz的误差。-1. A measurement with the measured signal frequency changes automatically switch,> 1000Hz, the timer count the ways <900Hz, the measurement cycle, the switching point can be custom You can be the best match. 2. Can change the crystal or single-chip to improve the measurement range, there are four commonly used crystal macro select 3. High precision, coupled with the high-frequency crystal oscillator and the replacement of single-cycle instruction microcontroller software correction, the high frequencies, can be done+- 2Hz error....
Platform: | Size: 56320 | Author: 刘凡 | Hits:

[VHDL-FPGA-Verilogtime4clock2

Description: 秒表/时钟计时器是在一种计时器上实现两种基本功能的一种器件。它广泛应用于各种场所,同时,它以其小巧,价格低廉,走时精度高,使用方便,功能多,便于集成化。-Stopwatch/clock timer is a device on a timer to achieve two basic functions. It is widely used in various places, the same time, its compact, low cost, travel time and high precision, easy to use, multi-functional, easy to integrated.
Platform: | Size: 591872 | Author: geng | Hits:

[Windows DevelopUdebugs

Description: 采用STC89C52单片机作为系统的核心控制器件,利用定时中断,对任务设计了不同的响应频度,CPU分别执行各任务。用这种任务抢占思想构建的程序框架,实现各模模块功能,实现了电压可控的恒定直流稳压电源设计。采用10位的AD1543和 DA5615,实现高精度输出与测量;通过闭环控制,使输出电压稳定;显示模块采用了WM -Using STC89C52 microcontroller as the core of the system control device, use the timer interrupt, the frequency of the different response on the design of the task, the CPU perform the task. This task to seize the ideological construct of the program framework, the achievement of the mold module function to achieve a controlled constant DC voltage regulated power supply design. 10 of the AD1543 and DA5615 high precision output and measurement closed-loop control, the output voltage stability display module using the WM
Platform: | Size: 67584 | Author: 获得 | Hits:

[GUI DevelopPendulum-VB

Description: 倒立摆系统的实时控制程序,内嵌高精度多媒体定时器,使VB定时精度大大提高,并具备绘制曲线功能。-The real-time control program of the inverted pendulum system, embedded high-precision multimedia timer, so the a VB timing accuracy is improved greatly, and have drawn the curve function.
Platform: | Size: 502784 | Author: cnx | Hits:

[Software EngineeringLTC3300-1

Description: LTC3300-1 是一款故障保护控制器IC,适用于对多节电池的电池组进行基于变压器的双向主动平衡。该器件集成了所有相关的栅极驱动电路、高精度电池感测、故障检测电路和一个带内置看门狗定时器的坚固型串行接口。-LTC3300-1 is a fail-safe controller IC, suitable for multi-cell battery pack transformer-based two-way active balance. The device integrates all associated gate drive circuitry, high-precision battery sensing, fault detection circuit and a watchdog timer with built rugged serial interface.
Platform: | Size: 417792 | Author: 宋涛 | Hits:
« 1 2 3 45 »

CodeBus www.codebus.net